.card{
    display: flex;
    height: 18rem;
    width: 14rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    margin: 0 2rem;
}

.card img{
    width: 15rem;
    height: 15rem;
    margin: 0 1.5rem;
}

.links{
    text-decoration: none;
    color: rgb(66, 65, 65);
    font-weight: 500;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.links:hover{
    color: black;
}

.main{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 50vw;
    margin: 5rem auto
}

@media screen and (max-width: 1100px) {
    .main{
        flex-direction: column;
    }

    .main img{
        height: 20rem;
        width: 20rem;
    }
   }